
<div class="panel panel-danger">
  <div class="panel-heading">
    <div class="pull-right"><%= link_to @sale_record.state ? '打开' : '关闭', change_state_admin_sale_record_path(@sale_record) %></div>
    售后服务-详情-<%= @sale_record.created_at.to_s(:db) %>
  </div>
  <ul class="list-group">
    <li class="list-group-item">姓名：<%= @sale_record.name %></li>
    <li class="list-group-item">电话：<%= @sale_record.mobile %></li>
    <li class="list-group-item">地址：<%= @sale_record.address %></li>
    <li class="list-group-item">购买日期：<%= @sale_record.purchase_date.to_s(:db) %></li>
    <li class="list-group-item">商品编号：<%= @sale_record.product_no %></li>
  </ul>
  <div class="panel-body">
    问题描述：<%= @sale_record.demand %>
  </div>
</div>
